using Engine.OldSerialization;

namespace RuthlessConquest {
    public class GameMember : ISerializable {
        public Game Game { get; set; }

        public StepModule StepModule => Game.StepModule;

        public PlayersModule PlayersModule => Game.PlayersModule;

        public RouteFinderModule RouteFinderModule => Game.RouteFinderModule;

        public BodiesModule BodiesModule => Game.BodiesModule;

        public PlanetsModule PlanetsModule => Game.PlanetsModule;

        public ShipsModule ShipsModule => Game.ShipsModule;

        public SpecialEventsModule SpecialEventsModule => Game.SpecialEventsModule;

        public ParticlesModule ParticlesModule => Game.ParticlesModule;

        public CameraModule CameraModule => Game.CameraModule;

        public MusicModule MusicModule => Game.MusicModule;

        public GameMember(Game game = null) => Game = game;

        public virtual void Serialize(InputArchive archive) { }

        public virtual void Serialize(OutputArchive archive) { }
    }
}